package com.alone.embedded.lucene.annotation;

import java.lang.annotation.*;

/**
 * 字段填充
 *
 * @author Alone
 * @date 2022/9/1 9:59 上午
 * @see com.alone.embedded.lucene.repository.handler.AutoFillValProvider
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AutoFill {

    /**
     * 有值时，是否覆盖
     *
     * @return boolean
     */
    boolean cover() default false;

}
